class Products < ActiveRecord::Migration
  def up
    create_table :products do |t|
      t.timestamps

      t.integer :maker, :null => false
      t.string :name, :null => false
      t.string :name_yomi, :null => false
      t.text :naming, :null => true
      t.integer :brew, :null => true
      t.integer :color, :null => true
      t.text :pr, :null => true
      t.text :article, :null => true
      t.boolean :is_show, :null => false, :default => true 
    end
  end

  def down
    drop_table :products
  end
end
